package com.cee.sch.job.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cee.sch.job.dto.ScheduleJobDTO;
import com.cee.sch.job.model.ScheduleJob;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface ScheduleJobMapper extends BaseMapper<ScheduleJob> {

    ScheduleJobDTO getById(Serializable id);

    ScheduleJobDTO getByNameAndGroup(@Param("jobName") String jobName, @Param("jobGroupName") String jobGroupName);

    List<ScheduleJobDTO> getScheduleJobList(ScheduleJobDTO query);

}